import request from '@/utils/request'

// 列表
export function doctorList(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/doctorList.html',
        method: 'post',
        data: query
    })
}

//修改上下架状态
export function changeDoctorStatus(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/changeDoctorStatus.html',
        method: 'post',
        data: query
    })
}

// 医院名称
export function hospitalDropDown(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/hospitalDropDown.html',
        method: 'post',
        data: query
    })
}

//医生删除
export function deleteDoctor(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/deleteDoctor.html',
        method: 'post',
        data: query
    })
}
//新增医生
export function createDoctor(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/createDoctor.html',
        method: 'post',
        data: query
    })
}

//详情
export function doctorDetail(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/doctorDetail.html',
        method: 'post',
        data: query
    })
}
//医生擅长项目
export function getForGoodAtProjectList(query) {
    return request({
        // url: '/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/getForGoodAtProjectList.html',
        url:'/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/getForGoodAtProjectList.html',
        method: 'post',
        data: query
    })
}
//医生修改
export function updateDoctor(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/updateDoctor.html',
        method: 'post',
        data: query
    })
}

//医生修改
export function branchOfficeDropDown(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminBranchOfficeProvider/1.0.0/branchOfficeDropDown.html',
        method: 'post',
        data: query
    })
}
